.uigo-floating-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 0 0 5px 5px;
    z-index: 10000;
}

.uigo-floating-ball {
    position: fixed;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: move;
    z-index: 10000;
    right: 20px;
    bottom: 20px;
}

.vertical-line {
    position: absolute;
    left: 50%;
    top: -100vh;
    width: 1px;
    height: 200vh;
    background: rgba(255, 255, 255, 0.5);
}

.horizontal-line {
    position: absolute;
    top: 50%;
    left: -100vw;
    width: 200vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.uigo-floating-bar button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.uigo-floating-bar button:hover {
    background: #45a049;
}

.uigo-floating-bar button.recording {
    background: #ff4444;
}

.uigo-floating-bar button.recording:hover {
    background: #ff3333;
}

.uigo-recordings-list {
    position: fixed;
    top: 50px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    padding: 10px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    color: white;
    font-size: 14px;
}

.uigo-recordings-list.show {
    display: block;
}

.recording-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background-color 0.2s;
}

.recording-item:last-child {
    border-bottom: none;
}

.recording-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.recording-item.selected {
    background: rgba(76, 175, 80, 0.3);
}

.recording-timestamp {
    font-weight: bold;
    margin-bottom: 5px;
}

.recording-events {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.recording-empty {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.uigo-floating-bar button {
    margin: 0 5px;
}

.play-btn {
    background: #2196F3 !important;
}

.play-btn:hover {
    background: #1976D2 !important;
}

.uigo-steps-list {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    display: flex;
    overflow-x: auto;
    z-index: 10000;
    gap: 10px;
}

.step-item {
    flex: 0 0 auto;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 120px;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.step-item.active {
    background: rgba(76, 175, 80, 0.3);
}

.step-coordinates {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    margin-top: 4px;
}

.step-type {
    font-weight: bold;
    margin-bottom: 2px;
}

.uigo-control-panel {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 0 0 5px 5px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 600px;
}

.uigo-floating-bar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.uigo-floating-bar button {
    padding: 5px 15px;
    border: none;
    border-radius: 3px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
}

.uigo-floating-bar button:hover {
    background: #45a049;
}

.uigo-steps-list {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    max-height: 150px;
    overflow-y: auto;
}

.toggle-btn {
    position: absolute;
    right: 10px;
    top: 10px;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999;
}

.back-button:hover {
    background: #45a049;
}

.product-detail {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.product-item {
    cursor: pointer;
    transition: transform 0.2s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.uigo-recordings-list {
    z-index: 100000;
}

.uigo-floating-ball {
    z-index: 100000;
} 